Passed
Push — master ( afe190...3d5c82 )
by Michael
02:10
created

HeadingDropdownDispatcher.js ➔ getMenuItem   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
c 0
b 0
f 0
nc 1
nop 1
dl 0
loc 3
rs 10
1
import AbstractDropdownDispatcher from './AbstractDropdownDispatcher';
2
3
export default class HeadingDropdownDispatcher extends AbstractDropdownDispatcher {
4
    getMenuItem(schema) {
5
        return super.getMenuItem(
6
            schema,
7
            {
8
                label: LANG.plugins.prosemirror['label:headings'],
9
            },
10
        );
11
    }
12
}
13